<?php
	$date = date ( "Y-m-d H:i:s" );
	echo $date;
	
	$h = date ( 'h' );
	if ($h > 10) {
		echo "aaa";
	} else if ($h == 7) {
		echo "cccc";
	} else {
		echo "bbbb";
	}

?>